package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;
import java.util.List;

/**
 * @Description:
 * @Author: wanghong
 * @Date: 2023/2/17
 * @Version: V1.0
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @RequestMapping("list")
    public List<Integer> list(){
        return Arrays.asList(1,2,3,4,5);
    }
}
